<extend name="Public:base" />

<block name="content">

    <form action="{:U('MoneyManage/index')}" method="post">
        <div class="table-responsive">
            <table class="table table-striped table-bordered table-hover search-form">
                <thead>
                <tr>
                    <th>
                         <input class="marginL10" name="master_id" type="text" placeholder="师傅账号" value="{:I('order_id')}" />
                        <input class="marginL10"  name="master_name" type="text" placeholder="师傅姓名" value="{:I('phone')}" />

                        <input class="btn btn-primary radius5 btn-sm" type="submit" value="查询"/>
                        <a class="btn btn-primary radius5 btn-sm" href="{:U('MoneyManage/excelout')}">导出</a>
                    </th>
                    <!--  <a class="btn btn-primary" href="javascript:;" id="search" url="{:U('Member/index')}">搜索</a>-->
                </tr>
                </thead>
            </table>
        </div>
    </form>

    <div class="table-responsive">
        <table class="table table-striped table-bordered table-hover">

            <thead>
            <tr>
                <th>师傅账号</th>
                <th>师傅名称</th>
                <th>钱包余额</th>
                <th>维修金</th>
                <th>保证金</th>
                <th>保证金利息</th>
            </tr>
            </thead>
            <tbody>
            <volist name="list" id="ba" key="k">
                <tr>
                    <td>{$ba['phone']}</td>
                    <td>{$ba['id_name']}</td>
                    <td><a href="{:U('MoneyManage/balance&master_id=').$ba['user_id']}">{$ba['balance']}</a></td>
                    <td><a href="{:U('MoneyManage/repairMoney&master_id=').$ba['user_id']}">{$ba['repair_money']}</a></td>
                    <td><a href="{:U('MoneyManage/repairBond&master_id=').$ba['user_id']}">{$ba['repair_bond']}</a></td>
                    <td><a href="{:U('MoneyManage/repairFoenus&master_id=').$ba['user_id']}">{$ba['repair_foenus']}</a></td>
                </tr>
            </volist>
            <tr>
                <td colspan="20" class="page">{$page}</td>
            </tr>
            </tbody>
        </table>
    </div>
</block>
<block name="css">
</block>
<block name="javascript">
    <script>

    </script>
</block>